package com.lx.repository;

import com.lx.model.User;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 段誉
 * @create 2019-06-26 13:41
 */
@Repository
public interface UserRepository extends MongoRepository<User, String> {
  User findByUsername(String username);
}
